package de.karnik.dokobu.navigation;

import java.util.Vector;


public class NavGroup extends NavElement {

	private Vector<NavElement> navElements = new Vector<NavElement>();
	
	public NavGroup( String nameKey ) {
		this( nameKey, null );
	}
	
	public NavGroup( String nameKey, String descKey ) {
		this( nameKey, descKey, null );
	}
	
	public NavGroup( String nameKey, String descKey, String link ) {
		super( true, nameKey, descKey, link );
	}
	
	public Vector<NavElement> getNavElements() {
		return this.navElements;
	}
	
	public void addNavElement( NavElement element ) {
		this.navElements.add( element );
	}
	
	public void removeNavElement( NavElement element ) {
		this.navElements.remove( element );
	}
	
}
